package com.qumitech.visualnovel.datasource.console;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.qumitech.visualnovel.model.dao.console.RiskAlarmConf;

public interface RiskAlarmConfMapper {
    int deleteByPrimaryKey(Long autoid);

    int insert(RiskAlarmConf record);

    int insertSelective(RiskAlarmConf record);

    RiskAlarmConf selectByPrimaryKey(Long autoid);

    int updateByPrimaryKeySelective(RiskAlarmConf record);

    int updateByPrimaryKey(RiskAlarmConf record);

    int countRiskUserAlarmConf(@Param("alarmType") String alarmType, @Param("alarmValue") String alarmValue, @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<RiskAlarmConf> queryRiskUserAlarmConf(@Param("alarmType") String alarmType, @Param("alarmValue") String alarmValue, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("offset") int offset, @Param("limit") int limit);

    int addRiskUserAlarmConf(RiskAlarmConf record);

    RiskAlarmConf queryRiskUserChatsAlarm();
}